package com.meitianhui.convenitenbuy.module.store.contract;

import com.baidu.mapapi.map.MarkerOptions;
import com.baidu.mapapi.search.route.WalkingRouteResult;
import com.meitianhui.convenitenbuy.base.BasePresenter;
import com.meitianhui.convenitenbuy.base.BaseView;
import com.meitianhui.convenitenbuy.module.store.model.StoreInfo;

import java.util.List;

/**
 * Created by amy on 2017/12/1.
 */

public interface StoreMapContract {
    interface View extends BaseView<StoreMapContract.Presenter> {

        void parseStore2MapSucc(MarkerOptions option);

        void showNotFind(String s);

        void clearBaiduMap();

        void getOverlay(WalkingRouteResult result);
    }

    interface Presenter extends BasePresenter {

        void parseAllStore2Map(List<StoreInfo.Convenient> convenientList);

        void parseStore2Map(StoreInfo.Convenient convenient);
    }
}
